package com.jffccloud.provider.api.service.hystrix;

import com.jffccloud.common.web.wrapper.WrapMapper;
import com.jffccloud.common.web.wrapper.Wrapper;
import com.jffccloud.provider.api.model.Demo;
import com.jffccloud.provider.api.model.OrderDto;
import com.jffccloud.provider.api.service.OrderFeignApi;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;

@Component
public class OrderFeignHystrix implements OrderFeignApi {
    public Wrapper<OrderDto> queryByOrderNo(@PathVariable("orderNo") String orderNo){
        return WrapMapper.ok(null);
    }

    @Override
    public Wrapper insertDemo(Demo demo) {
        return null;
    }
}
